/* jslint sloppy: true */
var LM = require('../global');

LM.service('Dictionary', function ($resource) {
	return $resource('dictionary/:dictionaryId', null, {
		get: {
			method: 'GET',
			params: {
				dictionaryId: '@dictionaryId'
			}
		},
		remove: {
			method: 'DELETE',
			params: {
				dictionaryId: '@distionaryId'
			}
		},
		query: {
			method: 'GET',
			isArray: true
		}
	});
});
